<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: ISampleIO Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ISampleIO Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ISampleIO" -->
<p><code>#include &lt;<a class="el" href="sample__io_8h_source.html">sample_io.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ISampleIO:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classISampleIO.png" usemap="#ISampleIO_map" alt=""/>
  <map id="ISampleIO_map" name="ISampleIO_map">
<area href="classCAlsaIO.html" alt="CAlsaIO" shape="rect" coords="138,56,266,80"/>
<area href="classCCombinationIO.html" alt="CCombinationIO" shape="rect" coords="138,112,266,136"/>
<area href="classCDeinterleaveIO.html" alt="CDeinterleaveIO" shape="rect" coords="138,168,266,192"/>
<area href="classCOriginalModifiedIO.html" alt="COriginalModifiedIO" shape="rect" coords="138,224,266,248"/>
<area href="classCPulseAudioIO.html" alt="CPulseAudioIO" shape="rect" coords="138,280,266,304"/>
<area href="classCRoutingIO.html" alt="CRoutingIO" shape="rect" coords="138,336,266,360"/>
<area href="classCSocketIO.html" alt="CSocketIO" shape="rect" coords="138,392,266,416"/>
<area href="classCWaveIO.html" alt="CWaveIO" shape="rect" coords="138,448,266,472"/>
</map>
 </div></div>

<p><a href="classISampleIO-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> { <br/>
&#160;&#160;<a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44ca34a8a5b01bf314c670c7427b72ba179f">UNKNOWN_ACTION</a> =  0, 
<a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44ca94dd3f80b8b47ea47735b117c096c897">NO_ACTION</a>, 
<a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44ca3279ddc907bab3b5edc827db94b78b85">EMBED</a>, 
<a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44ca6fbf5c59e67e467e1c91e5a91e0176af">EXTRACT</a>, 
<br/>
&#160;&#160;<a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44ca4aa4f5ff775e5a8131f22e2833ae724c">INTERLEAVED_EMBED_EXTRACT</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a985086c7a1f28cbfe8b4a63b406d0d5a">ISampleIO</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#abe594f33c7c78c506cd9a023da0f7178">~ISampleIO</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#ab8ef7dd9048d0944d3c5f50329e0874d">init</a> (<a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *pConfig)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a4a3ef7be5c5abba7f9993913380cb14f">destroy</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a5843d1feda7bfffb86dd260a08f5516d">read</a> (void **pData, <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;pAction, int pTimeout=500000)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#ae2026aece7114980b715076b45b906f9">write</a> (void *pData, const <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;pAction, int pLength)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a9e43c9190bd486f654f930aa49af48d1">getStreamInfo</a> ()=0</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#a57d4719b307a6da7660f75b03c81d033">ISampleIO</a> (const <a class="el" href="classISampleIO.html">ISampleIO</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classISampleIO.html">ISampleIO</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classISampleIO.html#aa0797a30e4518f23193ec749a9baf339">operator=</a> (const <a class="el" href="classISampleIO.html">ISampleIO</a> &amp;)</td></tr>
</table>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a33f1d3778c9c332648df649a73fdb44c"></a><!-- doxytag: member="ISampleIO::EAction" ref="a33f1d3778c9c332648df649a73fdb44c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">ISampleIO::EAction</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a33f1d3778c9c332648df649a73fdb44ca34a8a5b01bf314c670c7427b72ba179f"></a><!-- doxytag: member="UNKNOWN_ACTION" ref="a33f1d3778c9c332648df649a73fdb44ca34a8a5b01bf314c670c7427b72ba179f" args="" -->UNKNOWN_ACTION</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a33f1d3778c9c332648df649a73fdb44ca94dd3f80b8b47ea47735b117c096c897"></a><!-- doxytag: member="NO_ACTION" ref="a33f1d3778c9c332648df649a73fdb44ca94dd3f80b8b47ea47735b117c096c897" args="" -->NO_ACTION</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a33f1d3778c9c332648df649a73fdb44ca3279ddc907bab3b5edc827db94b78b85"></a><!-- doxytag: member="EMBED" ref="a33f1d3778c9c332648df649a73fdb44ca3279ddc907bab3b5edc827db94b78b85" args="" -->EMBED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a33f1d3778c9c332648df649a73fdb44ca6fbf5c59e67e467e1c91e5a91e0176af"></a><!-- doxytag: member="EXTRACT" ref="a33f1d3778c9c332648df649a73fdb44ca6fbf5c59e67e467e1c91e5a91e0176af" args="" -->EXTRACT</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a33f1d3778c9c332648df649a73fdb44ca4aa4f5ff775e5a8131f22e2833ae724c"></a><!-- doxytag: member="INTERLEAVED_EMBED_EXTRACT" ref="a33f1d3778c9c332648df649a73fdb44ca4aa4f5ff775e5a8131f22e2833ae724c" args="" -->INTERLEAVED_EMBED_EXTRACT</em>&nbsp;</td><td>
<p>INTERLEAVED_EMBED_EXTRACT will be converted by <a class="el" href="classCDeinterleaveIO.html">CDeinterleaveIO</a> into EMBED and EXTRACT. deinterleave = Splits one interleaved multichannel audio stream into many mono audio streams. samples are following ordered: EMBED | EXTRACT | EMBED | EXTRACT | ... </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a985086c7a1f28cbfe8b4a63b406d0d5a"></a><!-- doxytag: member="ISampleIO::ISampleIO" ref="a985086c7a1f28cbfe8b4a63b406d0d5a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ISampleIO::ISampleIO </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abe594f33c7c78c506cd9a023da0f7178"></a><!-- doxytag: member="ISampleIO::~ISampleIO" ref="abe594f33c7c78c506cd9a023da0f7178" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ISampleIO::~ISampleIO </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a57d4719b307a6da7660f75b03c81d033"></a><!-- doxytag: member="ISampleIO::ISampleIO" ref="a57d4719b307a6da7660f75b03c81d033" args="(const ISampleIO &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ISampleIO::ISampleIO </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classISampleIO.html">ISampleIO</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4a3ef7be5c5abba7f9993913380cb14f"></a><!-- doxytag: member="ISampleIO::destroy" ref="a4a3ef7be5c5abba7f9993913380cb14f" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int ISampleIO::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCRoutingIO.html#a20339035ba21f1bb9fc702a75d3735f5">CRoutingIO</a>, <a class="el" href="classCWaveIO.html#a87e3fbd7fa9ba9555c72a5aade4494b4">CWaveIO</a>, <a class="el" href="classCOriginalModifiedIO.html#a7ca7fe1225d88f76f95d0def84f8c26b">COriginalModifiedIO</a>, <a class="el" href="classCPulseAudioIO.html#a41f9f94d6940a71fde5ce02496352a27">CPulseAudioIO</a>, <a class="el" href="classCAlsaIO.html#a75136c89effa2d17df301c34b558b6b3">CAlsaIO</a>, <a class="el" href="classCSocketIO.html#a0a7a581185616277f6c2aaf815535bf4">CSocketIO</a>, <a class="el" href="classCCombinationIO.html#a11a6c73563adff523cfa7c6863a67061">CCombinationIO</a>, and <a class="el" href="classCDeinterleaveIO.html#a33a24a1699f9e0445378ae08da46176f">CDeinterleaveIO</a>.</p>

</div>
</div>
<a class="anchor" id="a9e43c9190bd486f654f930aa49af48d1"></a><!-- doxytag: member="ISampleIO::getStreamInfo" ref="a9e43c9190bd486f654f930aa49af48d1" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structNAudioFormats_1_1SStreamInfo.html">NAudioFormats::SStreamInfo</a> ISampleIO::getStreamInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCRoutingIO.html#a24140ba9720341e1187a726234afb4b4">CRoutingIO</a>, <a class="el" href="classCWaveIO.html#a32288b446b36daf22a72ac1bdc4bb772">CWaveIO</a>, <a class="el" href="classCOriginalModifiedIO.html#a9ac81c38e8d90cb2e01a24d27adef5b4">COriginalModifiedIO</a>, <a class="el" href="classCPulseAudioIO.html#aca9462dd9658c52e384d312606559a8d">CPulseAudioIO</a>, <a class="el" href="classCAlsaIO.html#ae2cd7fa1bdeaf8dc4e026fdeda3b62b4">CAlsaIO</a>, <a class="el" href="classCSocketIO.html#a87e070962dc27f080ff1d4f9742e7e1d">CSocketIO</a>, <a class="el" href="classCCombinationIO.html#ab8d6d2fba0bc1942d629032995f6911d">CCombinationIO</a>, and <a class="el" href="classCDeinterleaveIO.html#a2d0a59d26e3d29651fad5f1f60b56dd2">CDeinterleaveIO</a>.</p>

</div>
</div>
<a class="anchor" id="ab8ef7dd9048d0944d3c5f50329e0874d"></a><!-- doxytag: member="ISampleIO::init" ref="ab8ef7dd9048d0944d3c5f50329e0874d" args="(CPropertiesReader *pConfig)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int ISampleIO::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="properties__reader_8h.html#a67847fd00cb49d80dd45f61722eb9a43">CPropertiesReader</a> *&#160;</td>
          <td class="paramname"><em>pConfig</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="note"><dt><b>Note:</b></dt><dd>The instance of the properties reader will be freed (delete) by the main programm and is not allowed by the deconstructor of an inherit IO class.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pConfig</td><td>pointer to the properties reader </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success, -1 otherwise </dd></dl>

<p>Implemented in <a class="el" href="classCRoutingIO.html#a865aedbbcac06e49b20836627231fd1c">CRoutingIO</a>, <a class="el" href="classCWaveIO.html#aaa8e7eb8813f388fca7ca70205105d03">CWaveIO</a>, <a class="el" href="classCOriginalModifiedIO.html#a044c4913c7da4b5abcaaa49c739919bd">COriginalModifiedIO</a>, <a class="el" href="classCPulseAudioIO.html#a97ada1fd9b0e5e36344699ece7ab912d">CPulseAudioIO</a>, <a class="el" href="classCAlsaIO.html#a38e4b858c7ca52ed729cac95f7591643">CAlsaIO</a>, <a class="el" href="classCSocketIO.html#a9349696a29eb51ea6913db3d92278941">CSocketIO</a>, <a class="el" href="classCCombinationIO.html#a0155abeb6b2f6153ebfc43792c577b26">CCombinationIO</a>, and <a class="el" href="classCDeinterleaveIO.html#af72fd92e403d64e0c5a6a1b0b6854e40">CDeinterleaveIO</a>.</p>

</div>
</div>
<a class="anchor" id="aa0797a30e4518f23193ec749a9baf339"></a><!-- doxytag: member="ISampleIO::operator=" ref="aa0797a30e4518f23193ec749a9baf339" args="(const ISampleIO &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classISampleIO.html">ISampleIO</a>&amp; ISampleIO::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classISampleIO.html">ISampleIO</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5843d1feda7bfffb86dd260a08f5516d"></a><!-- doxytag: member="ISampleIO::read" ref="a5843d1feda7bfffb86dd260a08f5516d" args="(void **pData, EAction &amp;pAction, int pTimeout=500000)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int ISampleIO::read </td>
          <td>(</td>
          <td class="paramtype">void **&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;&#160;</td>
          <td class="paramname"><em>pAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pTimeout</em> = <code>500000</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Array of bytes, read from media. The buffer for data will be provided by the read method. Therefore a void** and not a void* is needed. </td></tr>
    <tr><td class="paramname">pAction</td><td>displays what has to be done, it also enables the direction from which data came from </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes read, 0 for EOF and -1 for a timeout or an error </dd></dl>

<p>Implemented in <a class="el" href="classCRoutingIO.html#a375aa37b0805387ed610d23c3e1d031f">CRoutingIO</a>, <a class="el" href="classCWaveIO.html#aa510ff6ab283ba7ce92e8405b5aed505">CWaveIO</a>, <a class="el" href="classCOriginalModifiedIO.html#aafdc9b76b6e7a6d21bdde17690325f6e">COriginalModifiedIO</a>, <a class="el" href="classCPulseAudioIO.html#a53f27db815744617a085f466693763ed">CPulseAudioIO</a>, <a class="el" href="classCSocketIO.html#a6833b052f4210d42347426aacfbbbec8">CSocketIO</a>, and <a class="el" href="classCCombinationIO.html#a0926c69c58cd37780e4a7bde9ccfca6f">CCombinationIO</a>.</p>

</div>
</div>
<a class="anchor" id="ae2026aece7114980b715076b45b906f9"></a><!-- doxytag: member="ISampleIO::write" ref="ae2026aece7114980b715076b45b906f9" args="(void *pData, const EAction &amp;pAction, int pLength)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int ISampleIO::write </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classISampleIO.html#a33f1d3778c9c332648df649a73fdb44c">EAction</a> &amp;&#160;</td>
          <td class="paramname"><em>pAction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Address of the Buffer which will be written to the media. </td></tr>
    <tr><td class="paramname">pAction</td><td>displays what has to be done, it also enables the direction from which data came from </td></tr>
    <tr><td class="paramname">pLength</td><td>Length/Size of the buffer (unit: byte) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of bytes written or -1 for an error </dd></dl>

<p>Implemented in <a class="el" href="classCRoutingIO.html#a6c1ddd2b9e0b4e48f6832cb6247c1135">CRoutingIO</a>, <a class="el" href="classCWaveIO.html#a142ebb8a033f2ffc6f733c70a26ec7d0">CWaveIO</a>, <a class="el" href="classCOriginalModifiedIO.html#a6417dd62493ee126071cac8a02564675">COriginalModifiedIO</a>, <a class="el" href="classCPulseAudioIO.html#aaadbf39f26d049651660973359ed9d31">CPulseAudioIO</a>, <a class="el" href="classCSocketIO.html#a982ff25e4c3a1cea4a2b23ad323a7a3c">CSocketIO</a>, and <a class="el" href="classCCombinationIO.html#a0bd3758c2cfbcd82fc46f15932db414f">CCombinationIO</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="sample__io_8h_source.html">sample_io.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:48 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
